import { ref, nextTick, onMounted, onActivated } from 'vue';
export function useIsRenderComponent() {
    const isRenderComponent = ref(false);

    const initRenderComponent = () => {
        isRenderComponent.value = false;
        nextTick(() => {
            isRenderComponent.value = true;
        });
    };

    onMounted(initRenderComponent);
    onActivated(initRenderComponent);

    return {
        isRenderComponent
    };
}
